<?php

namespace App\Http\Requests\Validators\Backend\EdgeManage;

use App\Http\Requests\Validators\BaseValidator;

class ProblemValidator extends BaseValidator
{
    public function storeRules()
    {
        return [
            'title' => 'required | string | max:256',
            'detail' => 'required | string',
        ];
    }

    public function editRules()
    {
        return [
            'title' => 'string | max:256',
            'detail' => 'string',
        ];
    }

    public function searchRules()
    {
        return [
            'title' => 'string | max:256',
            'detail' => 'string',
        ];
    }
}
